package com.hibuy.pc.service.shiro.impl;

import com.hibuy.pc.mapper.shiro.RolePermissionMapper;
import com.hibuy.pc.model.shiro.RolePermission;
import com.hibuy.pc.service.shiro.RolePermissionService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class RolePermissionServiceImpl implements RolePermissionService {

    @Autowired
    private RolePermissionMapper rolePermissionMapper;

    @Override
    public void addRolePermission(RolePermission rolePermission) {
        rolePermissionMapper.addRolePermission(rolePermission);
    }
}
